* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/* HERO SECTION */
.simple-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* BREADCRUMB */
.breadcrumb-bar {
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 16px 25px;
    font-size: 18px;
    z-index: 10;
}

.breadcrumb-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-bar span {
    margin: 0 5px;
}

.hero-img {
    height: 460px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
}

/* TEXT CENTER */
.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 180px 20px 0px;
    background: rgba(0, 0, 0, 0.55); /* light overlay */
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ff7a2f;
}

.hero-text p {
    font-size: 35px;
    font-weight: 400;
    max-width: 90%;
}

/* Images */
.hero-1 {
    background-image: url("../../../images/Ek pahel patshala/$MG_0178_compressed.webp");
}
.hero-2 {
    background-image: url("../../../images/Ek pahel patshala/_DSC9755_compressed.webp");
}
.hero-3 {
    background-image: url("../../../images/Ek pahel patshala/computer class (1)_compressed.webp");
}

/* Responsive */
@media (max-width: 768px) {
    .hero-img {
        height: 260px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 15px;
    }
}

/* ARROWS */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-img {
        height: 260px;
    }

    .breadcrumb-bar {
        font-size: 12px;
        left: 15px;
        bottom: 15px;
    }
}

/* ================= ARROWS ================= */
.custom-arrow {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    color: #ff7a2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Hover Effect */
.custom-arrow:hover {
    background: #ff7a2f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 122, 47, 0.6);
}

/* Position Fix */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .custom-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ================= Pathshala CSS ================= */
.patshala-container {
    padding: 1000px 24px -10px 24px !important;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.08);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}

.patshala-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 40px;
}

.patshala-card.optimized-about {
    background: #fff;
    border-radius: 28px;
    box-shadow:
        0 8px 32px rgba(233, 30, 99, 0.1),
        0 2px 8px rgba(255, 106, 0, 0.07);
    padding: 56px 40px 40px 40px;
    text-align: center;
    margin-bottom: 48px;
    border-left: 8px solid #e91e63;
    border-right: 8px solid #ff6a00;
    position: relative;
    overflow: hidden;
    transition:
        box-shadow 0.25s,
        transform 0.18s;
}
.patshala-card.optimized-about:hover {
    box-shadow: 0 16px 48px rgba(233, 30, 99, 0.18);
    transform: translateY(-4px) scale(1.012);
}

.about-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}

.about-logo {
    max-width: 130px;
    border-radius: 50%;
    border: 4px solid #e91e63;
    background: #fff;
    box-shadow: 0 4px 18px rgba(44, 62, 80, 0.13);
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}
.patshala-card.optimized-about:hover .about-logo {
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.18);
    transform: scale(1.05);
}

.patshala-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #e91e63;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-shadow:
        0 2px 8px #ffe3f0,
        0 2px 10px #ff6a00;
}

.about-lead {
    font-size: 1.18rem;
    color: #2d3651;
    margin-bottom: 26px;
    font-weight: 500;
    line-height: 1.6;
}

.about-highlight {
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px;
    border-left: 5px solid #e91e63;
    margin-top: 16px;
    text-align: left;
    display: inline-block;
    max-width: 650px;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
    font-size: 1.08rem;
}

.about-highlight strong {
    color: #e91e63;
    font-weight: 700;
}

.about-highlight ul {
    margin: 16px 0 0 22px;
    padding: 0;
    color: #2d3651;
    font-size: 1.07rem;
    font-weight: 500;
}

.about-highlight li {
    margin-bottom: 8px;
    list-style: disc;
    line-height: 1.5;
}

/* Decorative accent circle */
.patshala-card.optimized-about::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: rgba(233, 30, 99, 0.07);
    border-radius: 50%;
    z-index: 0;
}

/* Activities Section Styles */
.activities-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 48px 40px 36px 40px;
    text-align: left;
    margin-bottom: 48px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    transition:
        box-shadow 0.22s,
        transform 0.18s;
}

.activities-card::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    background: rgba(233, 30, 99, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.activities-card:hover {
    box-shadow: 0 14px 40px rgba(44, 62, 80, 0.16);
    transform: translateY(-3px) scale(1.01);
}

.activities-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #e91e63;
    margin-bottom: 28px;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(233, 30, 99, 0.06);
}

.activities-title i {
    font-size: 2.2rem;
    margin-right: 12px;
    color: #e91e63;
    filter: drop-shadow(0 2px 6px #ffe3f0);
}

.activities-list {
    margin: 0;
    padding-left: 28px;
    color: #2d3651;
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.activities-list li {
    margin-bottom: 16px;
    list-style: disc;
    background: rgba(233, 30, 99, 0.03);
    border-radius: 8px;
    padding: 8px 14px 8px 0;
    transition: background 0.18s;
}

.activities-list li strong {
    color: #e91e63;
    font-weight: 700;
}

.activities-list li:hover {
    background: #fff;
}

/* View Section Styles */
.view-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow:
        0 6px 24px rgba(233, 30, 99, 0.1),
        0 2px 8px rgba(255, 106, 0, 0.07);
    padding: 36px 18px 28px 18px;
    overflow: hidden;
    border: 2.5px solid #e91e63;
}

.view-slider::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: rgba(233, 30, 99, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.view-slides-wrapper {
    width: 100%;
    max-width: 900px;
    min-height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.view-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: view-fade-in 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.view-slide.active {
    display: flex;
}

@keyframes view-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.view-slide-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e91e63;
    margin-bottom: 18px;
    text-align: center;
    width: 100%;
    letter-spacing: 1.2px;
    text-shadow:
        0 2px 8px #ffe3f0,
        0 2px 10px #ff6a00;
    position: relative;
    z-index: 1;
}

.view-slide-images {
    display: flex;
    gap: 18px;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.view-slide-images img {
    width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(233, 30, 99, 0.1);
    background: #fff;
    border: 3px solid #ffe6f0;
    transition:
        transform 0.18s,
        box-shadow 0.18s,
        border-color 0.18s;
}
.view-slide-images img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.18);
    border-color: #ff6a00;
}

.view-arrow {
    background: #fff;
    border: none;
    font-size: 2.2rem;
    color: #e91e63;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.08);
    margin: 0 16px;
    transition:
        background 0.18s,
        color 0.18s,
        box-shadow 0.18s;
    position: relative;
    z-index: 2;
}
.view-arrow:hover {
    background: #e91e63;
    color: #fff;
    box-shadow: 0 6px 18px rgba(233, 30, 99, 0.18);
}

.view-dots {
    text-align: center;
    margin-top: 16px;
    z-index: 2;
    position: relative;
}
.view-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 5px;
    background: #ffd1e6;
    border-radius: 50%;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.18s;
    border: 2px solid #fff;
}
.view-dot.active {
    background: linear-gradient(90deg, #e91e63 60%, #ff6a00 100%);
    transform: scale(1.18);
    border-color: #e91e63;
}

/* --- End Enhanced View Section Styling --- */

.activities-title-grid {
    background: #e91e63;
    color: #fff;
    font-size: 2.1rem;
    font-weight: 900;
    text-align: center;
    padding: 22px 0 18px 0;
    margin: 0 0 32px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 18px rgba(233, 30, 99, 0.07);
}

.activities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px;
}

.activity-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255, 53, 118, 0.1);
    padding: 32px 24px;
    width: 320px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition:
        transform 0.18s,
        box-shadow 0.18s;
    position: relative;
}

.activity-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(255, 53, 118, 0.18);
}

.activity-icon {
    font-size: 2.3rem;
    margin-bottom: 16px;
    color: #ff3576;
}

.activity-card:nth-child(2) .activity-icon {
    color: #ff9800;
}
.activity-card:nth-child(3) .activity-icon {
    color: #4caf50;
}
.activity-card:nth-child(4) .activity-icon {
    color: #2196f3;
}
.activity-card:nth-child(5) .activity-icon {
    color: #9c27b0;
}

.activity-text {
    font-size: 1.08rem;
    color: #340204;
    text-align: center;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto 18px auto;
    max-width: 100%;
    width: 100%;
}

.section-divider {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #e91e63 0%, #ffe3f0 100%);
    border-radius: 2px;
    margin: 48px auto;
    opacity: 0.25;
}

/* Improved Our Impact Section */
.impact-highlights {
    background: linear-gradient(120deg, #fff0e6 60%, #ffe6f0 100%);
    border-radius: 32px;
    box-shadow:
        0 8px 32px rgba(255, 53, 118, 0.13),
        0 2px 8px rgba(255, 106, 0, 0.08);
    padding: 64px 40px 48px 40px;
    margin: 56px auto 48px auto;
    max-width: 1200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.impact-highlights::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    background: rgba(233, 30, 99, 0.07);
    border-radius: 50%;
    z-index: 0;
}

.impact-highlights h2 {
    color: #e91e63;
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow:
        1px 1px 10px #fff,
        0 2px 10px #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 56px;
    justify-content: center;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.impact-item {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(255, 53, 118, 0.12);
    padding: 44px 36px 32px 36px;
    min-width: 200px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition:
        transform 0.18s,
        box-shadow 0.18s;
    border-top: 6px solid #ff6a00;
    border-bottom: 6px solid #ff3576;
    position: relative;
    overflow: hidden;
}

.impact-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 16px 40px rgba(255, 53, 118, 0.18);
}

.impact-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    color: #e91e63;
    filter: drop-shadow(0 2px 8px #ffe3f0);
}

.impact-number {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #e91e63 60%, #ff6a00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    animation: impact-pop 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes impact-pop {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    80% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.impact-label {
    font-size: 1.18rem;
    color: #2d3651;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-align: center;
    font-family: "Segoe UI", Arial, sans-serif;
    margin-top: 6px;
}

.houses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}
.house-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    padding: 24px 18px;
    width: 220px;
    text-align: center;
    transition: transform 0.2s;
}
.house-card:hover {
    transform: translateY(-6px) scale(1.03);
}
.house-card h3 {
    margin: 14px 0 10px 0;
    font-size: 1.25em;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Individual house heading colors based on card border color */
.house-card[style*="#e53935"] h3 {
    color: #e53935;
} /* Agni House - Red */
.house-card[style*="#9c27b0"] h3 {
    color: #9c27b0;
} /* Jal House - Purple */
.house-card[style*="#43a047"] h3 {
    color: #43a047;
} /* Vayu House - Green */
.house-card[style*="#fbc02d"] h3 {
    color: #fbc02d;
} /* Prithvi House - Yellow/Orange */

/* --- Houses Section Styling --- */
.houses-section {
    margin: 64px auto 56px auto;
    max-width: 1200px;
    background: linear-gradient(120deg, #fff0e6 60%, #ffe6f0 100%);
    /* Updated to match theme: pink & orange */
    border-radius: 28px;
    box-shadow:
        0 8px 32px rgba(233, 30, 99, 0.1),
        0 2px 8px rgba(255, 106, 0, 0.07);
    padding: 48px 28px 36px 28px;
    position: relative;
    overflow: hidden;
    border: 3px solid #e91e63; /* Add a pink border for theme */
}

.houses-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 160px;
    height: 160px;
    background: rgba(233, 30, 99, 0.07); /* Use theme pink for accent */
    border-radius: 50%;
    z-index: 0;
}

.houses-section h2 {
    color: #e91e63; /* Theme pink */
    font-size: 2.7rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: 3px;
    text-shadow:
        2px 2px 12px #fff,
        0 4px 18px #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 1;
    line-height: 1.1;
    text-transform: uppercase;
}

.houses-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #e91e63 0%, #ff6a00 100%);
    border-radius: 3px;
    margin: 18px auto 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -18px;
    z-index: 2;
}

.houses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.house-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255, 106, 0, 0.1);
    padding: 32px 18px 24px 18px;
    width: 300px;
    text-align: center;
    transition:
        transform 0.22s,
        box-shadow 0.22s;
    border-top-width: 6px !important;
    border-top-style: solid !important;
    border-bottom: 4px solid #ffe6f0;
    position: relative;
    z-index: 1;
}
.house-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 12px 32px rgba(233, 30, 99, 0.18);
}
.house-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 16px;
    margin-top: 4px;
    border-radius: 50%;
    background: #ffe6f0;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.08);
    border: 2px solid #fff;
}
.house-card h3 {
    margin: 14px 0 10px 0;
    font-size: 1.25em;
    font-weight: 700;
    letter-spacing: 1px;
}
.house-card p {
    font-size: 1em;
    color: #e91e63;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Gallery Section Styling --- */
.gallery-section {
    margin: 64px auto 56px auto;
    max-width: 1300px;
    text-align: center;
    background: linear-gradient(120deg, #fff0e6 60%, #ffe6f0 100%);
    border-radius: 32px;
    box-shadow:
        0 8px 32px rgba(233, 30, 99, 0.1),
        0 2px 8px rgba(255, 106, 0, 0.07);
    padding: 56px 32px 48px 32px;
    position: relative;
    overflow: hidden;
}
.gallery-section::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 106, 0, 0.07);
    border-radius: 50%;
    z-index: 0;
}
.gallery-section h2 {
    color: #e91e63;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 36px;
    letter-spacing: 2px;
    text-shadow:
        1px 1px 10px #fff,
        0 2px 10px #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255, 106, 0, 0.13);
    transition:
        transform 0.22s,
        box-shadow 0.22s;
    border: 4px solid #fff;
    background: #fff;
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 12px 32px rgba(233, 30, 99, 0.18);
    border-color: #ff6a00;
}

slider img.slide {
    height: 420px; /* Set your desired height */
    object-fit: cover; /* Ensures the image covers the area */
    width: 100%; /* Make sure it stretches full width */
    display: block;
}

.container,
.patshala-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 900px) {
    .patshala-card.optimized-about {
        padding: 32px 10px 18px 10px;
    }
    .about-highlight {
        padding: 18px 8px;
        max-width: 100%;
    }
    .about-logo {
        max-width: 90px;
    }
    .patshala-title {
        font-size: 1.5rem;
    }
    .activities-card {
        padding: 24px 8px 18px 8px;
    }
    .activities-title {
        font-size: 1.3rem;
    }
    .activities-list {
        font-size: 1rem;
        padding-left: 14px;
    }
    .activities-title-grid {
        font-size: 1.3rem;
        padding: 14px 0 10px 0;
    }
    .activities-grid {
        gap: 18px 10px;
    }
    .activity-card {
        padding: 22px 8px 14px 8px;
        min-height: 160px;
    }
    .activity-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .activity-text {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .view-gallery {
        grid-template-columns: 1fr;
    }
    .view-img {
        max-width: 98vw;
        height: 120px;
    }
}

/* Eye icon in view section - adjust selector as needed */
.view-eye,
.fa-eye,
.icon-eye {
    color: #e91e63 !important; /* Theme pink */
    filter: drop-shadow(0 2px 6px #ffe3f0);
    transition: color 0.18s;
}
.view-eye:hover,
.fa-eye:hover,
.icon-eye:hover {
    color: #ad1457 !important; /* Slightly darker pink on hover */
}

/* Add to PATSHALA.css */
.gallery-section {
    margin: 64px auto 56px auto;
    max-width: 1300px;
    text-align: center;
    background: linear-gradient(120deg, #fff0e6 60%, #ffe6f0 100%);
    border-radius: 32px;
    box-shadow:
        0 8px 32px rgba(233, 30, 99, 0.1),
        0 2px 8px rgba(255, 106, 0, 0.07);
    padding: 56px 32px 48px 32px;
    position: relative;
    overflow: hidden;
}
.gallery-section::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 106, 0, 0.07);
    border-radius: 50%;
    z-index: 0;
}
.gallery-section h2 {
    color: #e91e63;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 36px;
    letter-spacing: 2px;
    text-shadow:
        1px 1px 10px #fff,
        0 2px 10px #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Always 4 images per row */
    gap: 28px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255, 106, 0, 0.13);
    transition:
        transform 0.22s,
        box-shadow 0.22s;
    border: 4px solid #fff;
    background: #fff;
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 12px 32px rgba(233, 30, 99, 0.18);
    border-color: #ff6a00;
}

@media (max-width: 900px) {
    .gallery-section {
        padding: 32px 8px 28px 8px;
    }
    .gallery-grid {
        gap: 16px;
    }
    .gallery-img {
        height: 140px;
    }
}

@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on medium screens */
    }
}
@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 per row on small screens */
    }
}

@media (max-width: 600px) {
    .gallery-section {
        padding: 18px 2vw 18px 2vw;
        border-radius: 18px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gallery-img {
        height: 110px;
    }
}
.houses-section h2 i,
.houses-section h2 .fa-home,
.houses-section h2 .icon-home {
    display: none !important;
}
/* --- End Pink & Orange Theme --- */
.container.patshala-container,
.impact-highlights,
.houses-section,
.gallery-section {
    max-width: 100vw;
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}
